/** Základní elementy */
body {
	background-color: white; color: black;

	margin: 0em; padding: 0em;
	text-align: justify;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Righteous', cursive;

	margin: 0em; padding: 0.25em;
	text-align: center;
}

h1 { font-size: 4em; }
h2 { font-size: 3em; }
h3 { font-size: 2.5em; }
h4 { font-size: 2em; }
h5 { font-size: 1.5em; }
h6 { font-size: 1.25em; }

legend {
	cursor: default;

	font-family: 'Righteous', cursive;
	font-size: 0.9em;

	padding: 0em 1em;
}

table {
	border-collapse: collapse;
	width: 100%;
}

table .perfect {
	table-layout: fixed;
}

th, td { text-align:  center; }
th { font-family: 'Righteous', cursive; }

tr.odd { background-color: #fafafa; }
tr.even { background-color: #f2f2f2; }

cite {
	display: block;
	font-weight: bold;
	margin-left: 2em;
}

textarea {
	border: 2px inset #e6e6e6;
}

/** Hlavička */
header {
	min-width: 62.5em;

	border-bottom: 0.5em double black;
}

header nav {
	width: 50em;

	border: 0.25em solid black;
	border-bottom-width: 0em;

	-webkit-border-top-left-radius: 2em;
	-webkit-border-top-right-radius: 2em;
	-moz-border-radius-topleft: 2em;
	-moz-border-radius-topright: 2em;
	border-top-left-radius: 2em;
	border-top-right-radius: 2em;

	margin: 0em auto; padding: 0em;
}

header nav ul {
	list-style: none;

	margin: 0em auto; padding: 0em;
	text-align: center;
}

header nav ul li {
	display: inline;

	font-family: 'Righteous', cursive;

	margin: 1em; padding: 0em;
}

header nav ul li a {
	color: black;

	text-decoration: none;
}

/** Panelové menu */
nav.barMenu {
	min-width: 62.5em;

	margin: 0em auto; padding: 0em;
}

nav.barMenu ul {
	width: 25em;

	list-style: none;

	border: black solid; border-width: 0em 0em 0.2em 0.2em;
	-webkit-border-bottom-left-radius: 2em;
	-moz-border-radius-bottomleft: 2em;
	border-bottom-left-radius: 2em;

	margin: 0em 0em 0em auto; padding: 0em; padding-left: 0.5em;

	text-align: right;
}

nav.barMenu ul li {
	display: inline;

	font-family: 'Righteous', cursive;

	margin: 1em; padding: 0em;
}

nav.barMenu ul li a {
	color: black;

	text-decoration: none;
}

/** Flash zprávičky */
.error, .alert { background-color: #fbe3e4 !important; color: #8a1f11 !important; border-color: #fbc2c4 !important; }
.notice { background-color: #fff6bf !important; color: #514721 !important; border-color: #ffd324 !important; }
.success { background-color: #e6efc2 !important; color: #264409 !important; border-color: #c6d880 !important; }
.info { background-color: #d5edf8 !important; color: #205791 !important; border-color: #92cae4 !important; }

.error a, .alert a { color: #8a1f11; }
.notice a { color: #514721; }
.success a { color: #264409; }
.info a { color: #205791; }

/** Tělo stránky */
.content {
	width: 61em;

	margin: 0.5em auto; padding: 0.5em;
}

.content .box {
	display: inline-block;

	width: 30em;
	margin: 0em; padding: 0em;

	text-align: center;
	vertical-align: top;
}

.content .box .container {
	border: 0.25em solid lightgray;

	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;

	margin: 0.75em 0.25em; padding: 1em;
	text-align: justify;
}

/** Patička */
footer {
	min-width: 62.5em;
	border-top: 0.2em solid black;

	font-family: 'Righteous', cursive;

	text-align: center;
}

footer a {
	color: black;

	text-decoration: none;
}

/** Paginator */
.paginator {
	color: gray;
	font-family: 'Righteous', cursive;
}

.paginator a {
	color: black;
	decoration: none;
}

/** Styly */
.font {
	font-family: 'Righteous', cursive;
}
.db {
	color: darkblue;
}

/* Ostatní */
div#snippet--adminBar {
	display: inline;
}
.icon {
	display: inline-block;

	width: 1em;
	height: 1em;
}